package com.future.dao;

import java.util.List;

import com.future.model.SysUser;
import com.jfinal.aop.Inject;

public class SysUserDao {
	@Inject
	private SysUser sysUser;
	public SysUser findUserByUsername(String username,String type) {
		return this.sysUser.findFirst(this.sysUser.getSqlPara("sys_user.findUserByUsername", username,type));
	}
	public List<SysUser> getUserList(String sfsh) {
		return this.sysUser.find(this.sysUser.getSqlPara("sys_user.getUserList", sfsh));
	}
}
